package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-08-24
 */
@TableName("wechat_company")
@ApiModel(value="WechatCompany对象", description="")
public class WechatCompany extends Model<WechatCompany> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "企业ID")
    @TableId(value = "company_id", type = IdType.AUTO)
    private Integer companyId;

    @ApiModelProperty(value = "企业名字")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "企业资质验证")
    @TableField("company_qualification")
    private String companyQualification;

    @ApiModelProperty(value = "营业执照图片")
    @TableField("company_license_img")
    private String companyLicenseImg;

    @ApiModelProperty(value = "关联用户的ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "创建时间")
    @TableField("company_create_time")
    private String companyCreateTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("company_update_time")
    private String companyUpdateTime;

    @ApiModelProperty(value = "是否删除 0正常 / 1已删除")
    @TableField("company_is_delete")
    private Integer companyIsDelete;

    @ApiModelProperty(value = "企业备注")
    @TableField("company_remarks")
    private String companyRemarks;

    @ApiModelProperty(value = "企业区域ID ")
    @TableField("area_id")
    private Integer areaId;

    @ApiModelProperty(value = "企业规模")
    @TableField("company_scale")
    private String companyScale;

    @ApiModelProperty(value = "企业Logo")
    @TableField("company_logo")
    private String companyLogo;

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
    public String getCompanyQualification() {
        return companyQualification;
    }

    public void setCompanyQualification(String companyQualification) {
        this.companyQualification = companyQualification;
    }
    public String getCompanyLicenseImg() {
        return companyLicenseImg;
    }

    public void setCompanyLicenseImg(String companyLicenseImg) {
        this.companyLicenseImg = companyLicenseImg;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getCompanyCreateTime() {
        return companyCreateTime;
    }

    public void setCompanyCreateTime(String companyCreateTime) {
        this.companyCreateTime = companyCreateTime;
    }
    public String getCompanyUpdateTime() {
        return companyUpdateTime;
    }

    public void setCompanyUpdateTime(String companyUpdateTime) {
        this.companyUpdateTime = companyUpdateTime;
    }
    public Integer getCompanyIsDelete() {
        return companyIsDelete;
    }

    public void setCompanyIsDelete(Integer companyIsDelete) {
        this.companyIsDelete = companyIsDelete;
    }
    public String getCompanyRemarks() {
        return companyRemarks;
    }

    public void setCompanyRemarks(String companyRemarks) {
        this.companyRemarks = companyRemarks;
    }
    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }
    public String getCompanyScale() {
        return companyScale;
    }

    public void setCompanyScale(String companyScale) {
        this.companyScale = companyScale;
    }
    public String getCompanyLogo() {
        return companyLogo;
    }

    public void setCompanyLogo(String companyLogo) {
        this.companyLogo = companyLogo;
    }

    @Override
    protected Serializable pkVal() {
        return this.companyId;
    }

    @Override
    public String toString() {
        return "WechatCompany{" +
            "companyId=" + companyId +
            ", companyName=" + companyName +
            ", companyQualification=" + companyQualification +
            ", companyLicenseImg=" + companyLicenseImg +
            ", userId=" + userId +
            ", companyCreateTime=" + companyCreateTime +
            ", companyUpdateTime=" + companyUpdateTime +
            ", companyIsDelete=" + companyIsDelete +
            ", companyRemarks=" + companyRemarks +
            ", areaId=" + areaId +
            ", companyScale=" + companyScale +
            ", companyLogo=" + companyLogo +
        "}";
    }
}
